package com.demo.service;

import com.demo.entity.User;
import org.springframework.stereotype.Service;

/**
 * @author KingYan
 * @date 2024/6/19
 * @apiNote
 */
@Service
public class UserServiceImpl implements UserService {
	@Override
	public User getUser(int id) {
		return User.builder().userId(id).userName(String.valueOf(id)).build();
	}
}
